<%-- 
    Document   : index
    Created on : 14/03/2011, 03:24:45 PM
    Author     : externo.drisco
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
            <title>JSP Page</title>
        </head>
        <body>
        <h:form binding="#{indexBean.findex}">
        <table width="100%">
            <tr><td>&nbsp;</td></tr>
            <tr><td>&nbsp;</td></tr>
            <tr><td>&nbsp;</td></tr>
            <tr align="center">
                <td>
                   <h1><h:outputText value="UBICA PERÚ"/></h1>
                </td>
            </tr>
            <tr><td>&nbsp;</td></tr>
            <tr align="center">
                <td>
                    <h:inputText id="txtConsulta" size="100" binding="#{indexBean.txtConsulta}" />
                </td>
            </tr>
            <tr align="center">
                <td>
                   <h:commandButton id="btnBuscar" action="#{indexBean.buscar}" value="Buscar" />

                   <h:commandButton id="btnAlmacenar" action="#{indexBean.almacenarCrawler}" value="Almacenar Crawler" />
                </td>
            </tr>
            <tr><td>&nbsp;</td></tr>
            <tr align="center">
                <td>
                    <h:outputText binding="#{indexBean.txtMensaje}"/>
                </td>
            </tr>
        </table>
        </h:form>
        </body>
    </html>
</f:view>
